﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="_Index.aspx.cs" Inherits="WanPiJie.WebSite.Index" %>

<!DOCTYPE html PUBliC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>我的宝宝—顽皮街</title>
	<link href="/Content/Styles/style.css" rel="stylesheet" type="text/css" />
	<link href="http://static.wanpijie.com/styles/global.css" rel="stylesheet" type="text/css" />
	<link href="http://static.wanpijie.com/styles/www.css" rel="stylesheet" type="text/css" />
	<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.0.min.js" type="text/javascript"></script>
	<script src="http://static.wanpijie.com/scripts/jquery.cookie.min.js" type="text/javascript"></script>
	<script src="http://static.wanpijie.com/scripts/global.js" type="text/javascript"></script>
</head>
<body>
	<form id="form1" runat="server">
	<wpj:SiteHeader runat="server" />
	<div style="height: 40px">
	</div>
	<div id="mainContent" class="wrap">
		<div class="tab-panel">
			<a href="" class="active">我关注的</a>
		</div>
		<div class="space">
		</div>
		<div class="box-list">
			<% if (this.HasBaby) %>
			<% { %>
			<div class="box-item box-baby">
				<img src="Content/images/peiyi_160x160.jpg" alt="picture" width="160" height="160" />
				<p class="a">
					<%=this.Baby.Name%>，<%=BabyExtension.GetGenderInfo(this.Baby)%>，<%=BabyExtension.GetAgeInfo(this.Baby)%></p>
				<p class="b">
					<a href="/MyBaby/ViewBabyInfo.aspx">
						<img src="Content/images/addbaby.jpg" alt="picture" width="100" height="30" border="0" /></a></p>
			</div>
			<div class="box-item">
				<div>
					身高：<%=this.LastGrowthRecord.Height %></div>
				<div>
					体重：<%=this.LastGrowthRecord.Weight %>
				</div>
				<div>
					（<%=BabyExtension.GetIntervalInfoAfterBirth(this.Baby,this.LastGrowthRecord.AddTime)%>）</div>
				<span>查看宝成长记录 </span>
			</div>
			<%} %>
		</div>
		<div class="panel">
			<wpj:UserPanel runat="server" />
		</div>
	</div>
	<wpj:SiteFooter ID="SiteFooter" runat="server" />
	</form>
</body>
</html>
